how to remove characters from a string in lua

224

how to remove characters from a string in lua -

-- removing characters

local str = "Hello World"

print(str:gsub("%o", "")

--> Hell Wrld

Comments

Submit
0 Comments